package com.xhorse.lockplatform.service;

import com.xhorse.lockplatform.comm.util.Paginator;
import com.xhorse.lockplatform.model.XhAppUpdateInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;


public interface AppUpdateInfoService {

    Map<String, Object> getUpdateInfo(String version, int type, int languageId);

    void updateInfo(XhAppUpdateInfo xhAppUpdateInfo);

    List<XhAppUpdateInfo> getAppInfoList(int type);

    int deleteUpdateInfo(int id);

    Map<String, String> getLatestAppDeviceVer(HttpServletRequest request, int type, int regionId);

    List<XhAppUpdateInfo> selectByParam(Paginator page);

}
